CyberStore Order Web Service
MethodGetOrderDetailView
CyberStore Order Web Service > All Operations Resource Group : GetOrderDetailView (Method)
Description
Retrieves a posted sales order linked to the shopper's current customer as an HTML formatted sales order document.Retrieves a posted sales order linked to the shopper's current customer as an HTML formatted sales order document. Introduced in v2.21.
Request (GetOrderDetailViewSoapIn)

The request body is of type GetOrderDetailView.

Request Body Parameters

NameDescriptionData Type
The sales order number.xml:string
Example
MakeAJAXCall("Order.GetOrderDetailView", {
    OrderNumber: '000973'
}, console.log)
200 Response (GetOrderDetailViewSoapOut)

The response body is of type GetOrderDetailViewResponse.

Response Body Parameters

NameDescriptionData Type

A string value containing a JSON object.

 

{
    "Html": "<HTML xmlns:TBLART=\"TBLART\" xmlns:SALBRN=\"SALBRN\" xmlns:SALARE=\"SALARE\" xmlns:SALSLS=\"SALSLS\"><HEAD><title>Order Lookup</title><script>\n          \t\nfunction showvalue(sorder)\n{\nsor=window.open(\"salesordervalue.aspx?order=\" + sorder + \"\", \"orderwin\", \"top=100,left=100,height=\" + window.screen.availHeight*0.4 + \",width=\" + window.screen.availWidth * .5 + \",resizable,scrollbars\")\nsor.window.focus()\n}\n\n        </script></HEAD><BODY><table class=\"orderDisplayTable\"><tr><td class=\"orderDisplayLabel\">Order Number:</td><td class=\"orderDisplayField\">001197</td><td class=\"orderDisplayLabel\">\n              Ship To:\n            </td><td class=\"orderDisplayField\">Bikes and Blades - North</td></tr><tr><td class=\"orderDisplayLabel\">Invoice Terms:</td><td class=\"orderDisplayField\">test</td><td class=\"orderDisplayField\"></td><td class=\"orderDisplayField\">Bulk Warehouse</td></tr><tr><td class=\"orderDisplayLabel\">Order Date:</td><td class=\"orderDisplayField\" colspan=\"2\">2019-10-15</td><td class=\"orderDisplayField\">45 Sixteenth Street</td></tr><tr><td class=\"orderDisplayLabel\">Shipping Instructions:</td><td class=\"orderDisplayField\">FREE Ground Shipping</td><td></td><td class=\"orderDisplayField\">Hyattsville</td></tr><tr><td class=\"orderDisplayLabel\">Special Instructions:</td><td class=\"orderDisplayField\" colspan=\"2\"></td><td class=\"orderDisplayField\">MD</td></tr><tr><td class=\"orderDisplayLabel\">Customer PO:</td><td class=\"orderDisplayField\" colspan=\"2\">sdasdasd</td><td class=\"orderDisplayField\"></td></tr><tr><td class=\"orderDisplayLabel\">\n              Order Status:\n            </td><td class=\"orderDisplayField\" colspan=\"2\">\n                  Open order\n                </td><td class=\"orderDisplayField\">20787</td></tr><tr><td colspan=\"5\"><table class=\"orderDisplaySubTable\"><tr><td class=\"orderDisplayDetailLabel\">\n                    Stock Code\n                  </td><td class=\"orderDisplayDetailLabel\">\n                    Description\n                  </td><td class=\"orderDisplayDetailLabel\">Qty</td><td class=\"orderDisplayDetailLabel\"></td><td class=\"orderDisplayDetailLabel\">\n                    Ship Qty\n                  </td><td class=\"orderDisplayDetailLabel\" Title=\"Back order quantity\">\n                    B/O Qty\n                  </td><td class=\"orderDisplayDetailLabel\">\n                    Price\n                  </td><td class=\"orderDisplayDetailLabel\" Title=\"Unit of Measure\"></td><td class=\"orderDisplayDetailLabel\">\n                    Value\n                  </td><td class=\"orderDisplayDetailLabel\">\n                    Est. Ship Date\n                  </td></tr><tr class=\"oddRow\"><td class=\"orderDisplayDetailField\">A133</td><td class=\"orderDisplayDetailField\">18 Speed Racing Bike Men</td><td class=\"orderDisplayDetailField\">1</td><td class=\"orderDisplayDetailField\">EA</td><td class=\"orderDisplayDetailField\">1</td><td class=\"orderDisplayDetailField\">0</td><td class=\"orderDisplayDetailField\">1,038.00</td><td class=\"orderDisplayDetailField\">EA</td><td class=\"orderDisplayDetailField\">1,038.00</td><td class=\"orderDisplayDetailField\">2019-10-15</td></tr><tr class=\"evenRow\"><td class=\"orderDisplayDetailField\">\n                        {Freight}\n                      </td><td class=\"orderDisplayDetailField\" colspan=\"7\">FREIGHT CHARGES</td><td class=\"orderDisplayDetailField\">0.00</td><td></td></tr></table></td></tr></table></BODY></HTML>",
    "Result": {
        "Success": true,
        "Message": "The request returned the detail view for Order ",
        "ElapsedTime": "149 ms"
    }
}

xml:string
See Also
All Operations Resource GroupCyberStore Order Web Service